package wiki.banco;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory
{
  public ConnectionFactory()
  {
  }

  public Connection getConnectionMySQL() throws SQLException
  {
    String host = "localhost";
    String database = "wikiatraso";
    String user = "root";
    String pwd = "luidne";
    
    return DriverManager.getConnection("jdbc:mysql://"+host+":3306/" + database, user, pwd);
  }
}
